Update to match recent changes to restclient.