Nested types are not supported

Relates to Issue #1