%extend support for unnamed nested structures