Remove unused imports from task