Add example of event emitter inheritance