Added event hook to documentation