Made provider configurable.