an API to avoid CCEs when doing StubIndex.process