Give Tree a type variable