static addProvider(type, name, provider) {
    Providers.providers[type] = Providers.providers[type] || {};
    Providers.providers[type][name] = provider;
  }
Adds a provider to the collection.
@param {string} type - The type of the provider.
@param {string} name - The name of the provider.
@param {Provider} provider - The provider object.