Makes it easier to extend the comparison functions