Added partial reindexing.