code: def put(self, name, base):
          '''
          Add a Base (or sub-class) to the BaseRef by name.
  
          Args:
              name (str): The name/iden of the Base
              base (Base): The Base instance
  
          Returns:
              (None)
          '''
          async def fini():
              if self.base_by_name.get(name) is base:
                  self.base_by_name.pop(name, None)
  
          # Remove myself from BaseRef when I fini
          base.onfini(fini)
          self.base_by_name[name] = basf put(self, name, base):
          '''
          Add a Base (or sub-class) to the BaseRef by name.
  
          Args:
              name (str): The name/iden of the Base
              base (Base): The Base instance
  
          Returns:
              (None)
          '''
          async def fini():
              if self.base_by_name.get(name) is base:
                  self.base_by_name.pop(name, None)
  
          # Remove myself from BaseRef when I fini
          base.onfini(fini)
          self.base_by_name[name] = base
docs: Add a Base (or sub-class) to the BaseRef by name.
  
          Args:
              name (str): The name/iden of the Base
              base (Base): The Base instance
  
          Returns:
              (None)