Proper support for iOS 6 SDK.