A utility API for creating event bindings.