Add API to remap TypeRef's.