Remove modules that have already been added.