Added template_vars_delegate 4