Allowed for alternatives of lxml.