Beginning of recursive namespace generation