TreeEntry.xs: Introduce scope
TreeBuilder.xs: Introduce scope