Fix a potential Hooks bug.
Add Vec#clamp.
Add a test to Map (and fix a bug while I'm at it).