Replaced deprecated function

This one definitely lets you save synonyms in 2.4.