Removed iOS 6 specific code.