docs: def Insert(self, index, rdfpathspec=None, **kwarg):
      """Insert a single component at index."""
      if rdfpathspec is None:
        rdfpathspec = self.__class__(**kwarg)
  
      if index == 0:
        # Copy ourselves to a temp copy.
        nested_proto = self.__class__()
        nested_proto.SetRawData(self.GetRawData())
  
        # Replace ourselves with the new object.
        self.SetRawData(rdfpathspec.GetRawData())
  
        # Append the temp copy to the end.
        self.last.nested_path = nested_proto
      else:
        previous = self[index - 1]
        rdfpathspec.last.nested_path = previous.nested_path
        previous.nested_path = rdfpathspec