See: https://github.com/markfisher/xdzk/pull/12/files#diff-9 (Paths evolution over there will make its way to Paths in XD), and feel free to comment on that PR as well :)