Remove unused imports and dependencies