Now developers can add custom events to be transmitted

TODO: Should we define default events?