Add equality operators to the generated structs.