Make module wrapping configurable.

Closes #24.