The output stream is now called `msgs`.