Folded multiple event handlers into one method, add support for that in addEvents(), Updated documentation