Fix error following template_namespace changes.