Refactoring set_post_process