Add factory.