Added documentation for various events.