Started adding a synchronized ostream.