Fixed warnings from Xcode 5