Reference values in error messages. Fixes #4.