Refs #364. Added deprecated version of html() function.