Added the ability to write messages to an output stream.