Added: template_or_default
Dev. checkpoint.