Add a $hasUndefinedProperties in PartialObjectProxy.