Fix typos in code generated by cougar-model-builder