Fixed iOS 7 deprecation messages.