Fixes addEvent() reference. Closes #370.
Merge pull request #371 from melissanoelle/feature/bugfix_addEvent

Fix addEvent() reference.