Code generator modernization.
Added setters for message fields.