Moved template variables into settings.