Added documentation for methods and events.