We need to add the same support for batching as in the Distances module.
We need to add the same support for batching as in the Distances module.