I don't remember. Might have been that I started coding HtmlFormatter in isolation and integrating with the container later. Not sure now...