removed TypeStorage inheritance from type_inspect. Pointer to storage is only used where needed