Adds indexing.