Fixed binary wrapper handling in emitter