Moved line parsing logic to value parsers instead of the line parser.