Fix names of get/set methods to honor specified relnames.