Added a simple string stream for printing.