If the config class was to replace the config dict, further refactorings upstream would be needed. This is out of scope.