Revert "make .values() Object's method"

This reverts commit b2d3946a8b28c22eab448149bfc4e2129daf41c4.