Improve the way we read input.