**Is your feature request related to a problem?** Currently, add synonym function need change multiple files. E.g. * #1127 * #1128 * #1129 **What solution would you like?** Refactor the code to simplify the effort add synonym function.