Add hashCode/equals methods to the DDL trait