Resolve Xcode warnings.