Make DeviceWidget base class.