Add factory provider.