Share batching code + save before refactor
Allow to plug postProcessing on paginated document lists