Add selection to trees.