Add chunked and chunking.

Closes #84.