Optimized event dispatcher plugin system