Rewrite Thumbnails class with HtmlObject
Update dependencies