Patch for indexes.