Adds indices to some models.