hashCode() and equals() for generated action implementations