Pass generate_context() just the default_context, rather than the entire config_dict. Makes it more modular.