Fix struct/class mismatch.