I also think `out` would be better named `outputHtml` or something more descriptive.