Moving number formats to object model