'Refit (normalize) all of the nodes in the branch.'

def refitNodes(self):

    for n in self.branch:
        if (n.prefix is not None):
            ns = n.namespace()
            if self.permit(ns):
                n.prefix = self.prefixes[ns[1]]
        self.refitAttrs(n)
