Do you actually need run-time templating, or can you get away with "compile-time" templating? For example, nearly all of the pages of stonehenge.com are actually static, even though I'm generating them all at runtime (hey, I got cycles to spare). As in, I could have used ttree instead of Template directly. Maybe you can do the same?