we defined a custom class like this

and use it as property, we found that there is no hierarchy relationship between class and members, they exported to same layer like this

member and class are in the same level, and sometimes members are missing(there is no flag member in above pic)
is this a bug or just by design?