code: def refitMappings(self):
          
          for n in self.branch:
              n.nsprefixes = {}
          n = self.node
          for u, p in self.prefixes.items():
              n.addPrefix(p, u)
docs: Refit (normalize) all of the nsprefix mappings.