Session opIndex supports the same types as Variant