Remove iOS 5 specific code