Revised after review

* Dropped 'script' support
* Improved documentation
* Made pathFn members private