Fix Xcode 6 warnings.