remove depricated FactoryInterface