Custom mediation support