Dump non-zero len and cap for applicable types.

Closes #16.