These need to make copies of the tuple and dictionary (the latter may also be NULL), so that it is possible to keep track of the reference counts.