Ensure that provider can be passed down to base class when connecting to services, so we can override the default provider class.