Fix module dependencies.