Add documentation for events