[feature] TreeNodes have a type.