caqti-persist: Add missing type constraints.