Now uses lxml to parse API.