Curious about the choice to flatten here -- having the slot be the externalptr instead of SQLiteObject. Makes me wonder if we even need both of these? Haven't gone back to look yet.