Add in some digit manipulation stuff.