Instead of proxying through the magic getter of the RootConfig object. This should be more performant (and is more explicit).
Additionally this enforce type hints on all function signatures inside of the synapse.rest.client package.