Restore rest.chain() for default client