Less repetitive template nesting