Added recursive namespace creation