Removing unneeded variables.