Fleshing out the Digit class.