Change registry to be an emitter.