New api for Vtree