Remove unused imports

All unused imports that won't be regenerated have been removed 
to reduce the number of warnings.
12 files changed