Code snippets for Pathfinder-related development