Gives richstructure comparators a proper interface.