Better support integer values. Fixes #11.