Refactoring around the new ConfigsDict PyAid class.