adding exclusions to class files