Fix generator_spec