Added pre/postprocessing support for service instances