[3.0] Generate equals, hashCode, and toString for more classes