Add rudimentary Path mode

I know that the `val0()` and `val1()` thing aren't elegant. I fought
with the compiler to make unpacking work and I gave up (for now!).