Simple paths

Fixes #28 and supersedes #29