Remove usage of tuples in parse_integer.