Improved documentation for toHtml/toDataFormat events.