Simplify Requests code.