Adds synonyms to corresponding class in a class definitions file.