Update event handling and triggering within the module.
Update specs and keep eslint happy.