why aren't both using the type registry?