Improved performance in thumbnails.