Added support for downloading document thumbnail using getThumbnail().