ES6 class for event notifications.