Removed unused imports from generators