Convert GeneratorFactory to interface for xtend compilation speedup