Dan Hipschman : widl: Remove usage of type_t ref field for base types; simplify code.