Remove unused variable and imports.