Migrate to Growthbeat's DeviceUtils