Updated docs for the event class and made minor code tweaks