Make the ServuceProviderRepository serviec optional as well