Fix references for anonymous structs