Sloths are xenarthrans – their closest relatives include anteaters and armadillos. And, among other things, large, curved claws and powerful forelimbs for digging are common xenarthran traits. It's likely that the last common ancestor of two- and three-toed sloths shared these features, too.