maybe Module needs to be refactored to use the enum (that method preceded the introduction of the enum because the original intention was to have no known limits to valid modules so the runtime could be extensible)... if so, should be a new story