Use plone.batching.