Revised the tree registry to support introspection