Cleanup some numeric code.