Start of the API for jex-events.