#4366: classes can be generated without namespace