Small fixes for iOS.