add messages to type_spec.js file