Moved to abstract index_context instead of tdb_wrap