Added support for namespaced template paths