Move extension method to IServiceCollection