Removed old concepts pathPrefix and currDepth