Restored 2ng argument for writeHtml methods.