I have class in my Forum package which configures a custom index. I am injecting Umbraco.Cms.Core.Scoping.IScopeProvider which says is obselete and I should use Umbraco.Cms.Infrastructure.Scoping.ICoreScopeProvider instead. However in the COnfigure method I am doing the following