Support for nested struct and slices