Clean up and doco.

Also, get rid of the max range constants. Instead, use a convention
to indicate no lower/upper bound.
Package doco and examples.