WIP: Start numeric type for resources

Opening for comments on this approach. Not functional yet.
Which one was which type, again?  What about for user-defined formats?
(Remember broccoli man: "why do you hate your users?"!)