Change tree_init() to tree_init_*type*().