handle pre-parsed templates.