Refactor. Default synchronous indexing.