Remove reliance on deprecated Illuminate\Event and Symfony\EventDispatcher code