Removed warnings in XCode