Fix collecting userdata.