Rename 'addEvent' to 'on' for consistency