Remove the factory from the SesameStatement equals() and hashCode() methods.