Initial work traversing trees.
Add Tree::canHaveAttrs.