Removed excess const from istream method