add remove_all_hooks function to batcher