Add set operations and fix `uniq''