Added parseElem. Improved doc