Issue #718: Add hook for sqlite3 module.