Updated restclient's def.