Don't need XML::LibXML. Added some doc/comments.