Fix unnamed methods for the REST client, too.