Removed warnings from Xcode5.1, about automatic casting.