Removing reference to SortedBatch.