Removed the unused variables and import statements.