Allow module options to be a function.
Version bump to 0.0.18.