Remove some unneccesary changes.
Correct concatenation in writePrimitive() to no longer consume its args.