Improve performance on iOS.