Flatten Nested Type

Flatten Nested Type