Make sure this also deletes the objects.