Moved creation of ModId into class Mod.