Allow to define the events for the event emitter, no restriction by default