Uploading code for ModelFactory.
Update objects to use new HashCode feature.