Add methods ResetOnDocumentActivate and ResetonDocumentDeactivate to PersistenceManager