is this the documented way to extend the `emitter` component?