Corrects comment about calling event handlers in functions