Remove unused variables and imports.