[HG] init generator.