Fixing module generation.