Allow setting mode on the module.
0.8.7
Avoid boolean trap.
0.8.8
Allow redirecting all messages to an error stream.
0.8.9