Removed unneeded variable "length."
Xcode updates.