Smarty templating for Hirudo.