Fixed `each` to work with non-scalar keys.
Added `contains`, `max`, `min`, and `reduce`.