Better solution for #3284 by making the entire numberFormat method settable and wrappable from the outside.