Clean up a bunch of warnings when building with Xcode 6.1