Polen.Template rewrite