Removed redundant variables.