Adds emitter spec
Fixes model.set when a map is passed as argument, Adds model spec