Add option to provide a number formatter.