Use emitter to register done.