Document no longer inherits from EventEmitter, instead exposes API wrapper around emitter