Add missing tree utilities