Move InternalTerm to dwc-api to ensure factory synchronization on startup