Fixed various Xcode 5.1 warnings