code: def add_instance(self, name, properties):
          # type: (str, dict) -> None
          
          if name in self.__instances:
              raise NameError(name)
  
          # Store properties "as-is"
          self.__instances[name] = properties
docs: Stores the description of a component instance. The given properties
          are stored as is.
  
          :param name: Instance name
          :param properties: Instance properties
          :raise NameError: Already known instance name