Add support for indexes and uniques.