Changed persistent object declaration rule.  It became to depend on the object field type.