change all() for DeviceType in API 1.3