Event emitter inheritance