Making the framework support iOS 5.0