rename Renderable getTemplateVars into getTemplateVariables
adjust adapter to render a Renderable directly