Fix Xcode warnings

There are a few Xcode warnings that need to be addressed.