Get write_html() working again.  For some reason, the $Template object was
undefined.