Infrastructure to canonize a proto node.