Prevent `last_index`and `parameters` leak in global.