if params['cleanup'] is not None:
            params['cleanup'] = [PipelineCallback(pipe, req, store=store) for pipe in params['cleanup']]