code: def new_term(self, term, value, **kwargs):
          
  
          tc = self.doc.get_term_class(term.lower())
  
          t = tc(term, value, doc=self.doc, parent=None, section=self).new_children(**kwargs)
  
          self.doc.add_term(t)
          return t
docs: Create a new root-level term in this section