Unlike LMod which automatically handles module collections/families through the module load commands, TMod4 requires a different command to restore module collections, namely module restore. A programming environment defined in the configuration might be a collection, thus it should be restored, but user modules can be simple modules that must be loaded instead. We need to support this concept in the TMod4 backend.