tweak module defs slightly to avoid some jshint warnings.