Add `values()` method, and re-add constants.

This is an implementation of the changes discussed in #19.