Fixing errors that occurred after updating XCode.