More progress on the SQLite backend