The way I usually work around this is like so: template Namespace_() { // Stuff in the namespace. } mixin Namespace_ Namespace; Kinda hacky, but it works :) -- Daniel