Added FactoryMethod.