registered_class_info: use typeid() instead of tinfo_static.