Added case statement to building default_generator.