Shouldn't this be `device: Mobile.IDevice`?