Added the index option.