Folding for library / module definers.

Fixes issue #20.