Added example for uploading an object.