[WIP] Upsert support prototype.