Initializing factories resulted in recursive call to addExternalListeners instead of addExternalFactories

Initializing factories resulted in recursive call to addExternalListeners instead of addExternalFactories.