Recursivly build out class for odd namespaces