Removed unnecessary variables.