Created helper class for xml parsing.