Removed all referances to std::endl.