If you read this straight through, rendered in the narrative they make complete sense read straight through. Even if you skipped down to the server creation, you would know you need the image object.

If you look at the Ruby, Node, PHP samples they all do this the same way. Curl is the odd child here in that it can't create objects. It can assign to environment variables though.