Correct iOS version 6.0 deprecations.