Remove RTTI usage in NIF reader.