Fixed the Xcode 6.1 warnings.