Add support for thumbnails