Added GetIndex()