Fix issue with missing default namespace in class generator