Added support for postprocessing functions