Implements NodeRefs, so that walking a tree doesn't load the (potentially large) value data of keys-merely-seen.