Let constructor handle any type. Only iterate objects.