Rename deprecated API for iOS 8