Resolve Xcode 6 warnings.