Add support for BeautifulSoup4