code: def add(self, opener):
          
  
          index = len(self.openers)
          self.openers[index] = opener
          for name in opener.names:
              self.registry[name] = index
docs: Adds an opener to the registry
  
          :param opener: Opener object
          :type opener: Opener inherited object