Add support for numeric values instead of human-readable strings.

Allows us to have classes like `1/4` instead of `one-quarter`. This
makes it easier to generate grids programmatically through loops.