Improve handling of post_processor.
Internal restructure in post_processor.