Removes unnecessary variable.