Added support for Android.