Added thumbnails support.