[Private] switch to a provider so that stubs can be injected before bootstrap