Added support for "treeish" lookups