Listen for custom events.

See the [Events API](Events).
