remove DeviceQuery.toSpecObject()