 
     /// See Service.Provider.boot
     public func didBoot(_ container: Container) throws -> Future<Void> {
-        let router = try container.make(Router.self)
         try routes(
-            router,
+            container.make(),
             middlewares: middlewares,
             endpoints: AdminPanelEndpoints.default,
-            resetProvider: resetProvider
+            resetProvider: container.make()
         )
 
         return .done(on: container)

        try services.register(CurrentURLProvider())
        try services.register(SubmissionsProvider())

        resetProvider = ResetProvider<U>(
            config: .init(
                name: config.name,
                baseUrl: config.baseUrl,

        )
    }

    /// See Service.Provider.Register
    public func register(_ services: inout Services) throws {
        try services.register(LeafProvider())
