Extracting the `regions` and `default_region` from the configuration is not related to the loading of the service. What about `get_regions(config)` and `get_default_region(config)` functions? A single function that returns a tuple `(regions, default_region)` is also possible but more implicit.