Add support for unique indexes.