Implement lazy fetching of values for PathNodes.