Add rich compare mixin