Implemented indir2_index, indir_index, direct_index.