Add post-process hook for cookie package.