Removing the service injection from HeroConfig