What were Chinese Crested Dogs bred for?

What were Chinese Crested Dogs bred for?
Chinese Cresteds were bred to be companions, as their small size and affectionate nature made them ideal lap-dogs. They became popular among sailors and traders who would take them aboard ships to serve as ratters and to provide companionship during long voyages.