README: clarify event handler function signatures