changed _type back to type_t, now that the #includes work again