Fix iOS 7 warnings.