Implement collection views.

I love the collection views API, and need it on `TypeMap` for one of my projects.

r+?
Ah, of course. Fixed.