Add iterator support for LabelTree