Make nav-tree a function (doesn't need to be a macro anymore)