Fixed ProviderDir usage