Adds support for unique constraints