The client api for handling requests. Broke.