add helpers for Pathjs methods