Adds comparisons operators to AbstractPath