Add typing information to the device handler.