Simplify parse_line.