Make Tree parametric