code: def register(cls, note, provider):
          
          basenote, name = cls.parse_note(note)
          if 'provider_registry' not in vars(cls):
              cls.provider_registry = {}
          cls.provider_registry[basenote] = provider
docs: Implementation to register provider via `provider` & `factory`.