Functionality of AddIndex plugin: