Add documentation in base_device.