Add ObjectReference comparator.