Add from_template scope.