Added documentation for custom events