Conformity with new requests API