HTMLTemplateElement#instnatiate cleanup.