Fixed all warnings with Xcode 5.1.