RemoteService.addDevice 's return type from void to string.