Add missing indexes.