Clean duplicate modules.