Reinstated use of FactoryLocatorActivator and now it works fine.