BaseTools: Remove types.TypeType