Change the type of emitter, need fix on issue #2 to work.

Signed-off-by: Adrien <berthet.a@gmail.com>