docs: def register_provider(cls, provider):
          """Register method to keep list of providers."""
          def decorator(subclass):
              """Register as decorator function."""
              cls._providers[provider] = subclass
              subclass.name = provider
              return subclass
          return decorator