Make request doctests pass