Fix tref definition to add externalDFN and internalDFN.