Factored out NumberList into library.