Refactored DeviceClass#onConnection