Adding URI instead of depending on requestUri in TreeRouteStack