Add abstract indexer class