adding purging capabilities to event dispatchers