remove tcwrapper reliance on types being in the global table.