Configured the service to a provider type for more configurability.