Add path methods to Tree