Renames mediator to spawner.