Add new validators

* Add validateClassName method
* Add validateClassName method
* Apply new validators