Fix for Xcode warnings.