Updated Object Factory class to be able to interpret other object factories.