Fix some iOS 7 deprecations.