another default method for Path.