remove all custom type system. using RTTI