Fixed some of the checkstyle and PMD warnings in the schema package.