Fixes iOS 7 Deprecations