this is a quick hack to give the ``DynamicRouter`` access to a ``RouteProviderInterface`` instance