Updated standards for using the 'set' attribute in place of the 'modify' one.
Restored older version of PersistentObject class in sleep: delete and modify are there, need to update accordingly.