Fix for std::istream usage.