Cache some of the node lookups