Working on sync client/server API.