Implement DeviceUtils helper class needed by some mods