Add a setting for persistence