Trying to get parsing from an istream working.