This is because actually in Java, the nesting is not part of the semantics of the namespace. However, for analysis convenience, we would rather want to have this namespaces as "nested". This is the behavior of inferring the namespaces based on names (available in the utilities menu of a model).
+1
Alexandre