semantic: Add fields to nest structs.