Moved the functionality of the indexer package to the ItemIndex type