Extract path navigation logic
Move docs