warning fixes in class files.