Changed: added missing return statement in method 'setupEventMonitor'