Fix mismatched class/struct