Remove request_handler from the API library implementation