Fixes to initModule after speaking to Rasmus.