Fixed checkstyle rules for some classes.