Persisting to sqlite now works.