Fix client REST API.