An Abstract Model for Process Mediation