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

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

static methods do not work well with inheritance...