Adds some lxml methods.