Added documentation for events