Remove duplicated parsing.
Add xml coverage.