Changed severity of a few checkstyle warnings to error