Partially working draft of postprocessing.