Cache the collection#all call to improve performance.

Fixes #132, fixes #137