Add support for NextGen compiler with a simple TTypeInfo helper