Use parameter unpacking in call to DeviceEvent constructor.