Fixes #337 - xcode warnings.