Some fixes to classpath. Improved validation styles