Removed useless object handling in EventHandler.pm.