Added support for nested structs, unions and enums