Add Guzzle code to utility function.