Handling client requests.