Update to handle deprecation with iOS 7.0 target