Adapt generator to new language build.