Added sanity check to Mediator