Make PathManager easier to test,