Coerce values to numbers.

Fixes #8.