Remove dependency on Android.