Var cleanup of compiled templates and add missing semicolon.