Improved SQLite3 support