Add functions to inspect the path