Restored FactoryImpl.equals