Removed some useless variables.