Removed redundant imports and variables.