Add a cache of Document/Item lookup for a Tree.