Changed value_generator to instance_generator.