Made root id in PathMap configurable