rest_adapter: Remove unused `set` definition