Mediation as Both Representation and Substitution