Implements universal preprocessor and postprocessor.