#417 Changed tool tips to include synonym and definition. Changed generating code to be more explicit, but more verbose.