Removed unneeded variables.