Adjust code to make it work with Guzzle 4