Modify output().
Add a regression test.