Fix an exception class when visibility setters given an undefined name

* Module#{public,protected,private}
* main.{public,private}