Works with the new batch event framework stuff