Fixed Xcode 5 warnings