Updated the checkstyle configuration and made a few fixes.