Added the option to asynchronously index objects