CMF-27: Provide an ability of code generator to be more scalable