(#23131) Remove special casing of Class 'main'
(#23131) Add a spec test asserting that main is treated like other classes
Merge pull request #2057 from kylog/issue/23131/empty-string-element-in-containment-path-array

(#23131) Remove special casing of Class 'main'