[TASK] Introduce a pagetree helper to navigate in the pagetree