Added restclient-mode.