Replace all occurances of "reference TableDef" with "reference Table"