Added with-post-hook.