Added hash comparators for typesets