Remove unused imports and variables