Fixing module dependencies.