Add distinct operator.