Removing few unnecessary variables.