Disallow duplicate classes as in "class A { class A {}}"