Only import 'fmt' in generator when used