Fix values() to work with lists.

Fixes #25