Introduce plugins for batch. Only preprocess() hook so far.