Add synonym and is_obsolete flags