Add `all` utility function.

Closes #9.