Added generate_equals and generate_equals_and_hash macros