Refactor some examples with .fromEventHandlerFunction