Make custom emitter work