Add indexer prototype