Silence deprecation warnings in projects with iOS 7 deployment target.