GeneratorFactory: Move helperImpl init to come after helperBase to avoid an NPE