Tweaking PathWalking API