Added equals methods to generated classes