Refactored the property value generation classes to pass a flag that indicates whether the objects are pre- or post-save.