Users should be able to specify events that a function should respond to.
Users should be able to specify events that a function should respond to.