Added optional attribute 'comparator'.
Added optional attribute 'comparator'.