Remove old imports from generated files