Added ability to create unique index