Upgrade CodeEmitter so that unit tests all compile.