Properly inheriting off event emitter