Register Tree objects with fill singledispatch