Make GeneratorContext internal.