added namespace import for `Template` (refs #63, #51, maybe others)