Add PersistentManager class.