Adding code to call the PersistenceManager.