Path methods to path/pathSegments. Closes #15.