Avoid using iOS 5 APIs unnecessarily