Add pre-all and post-all.