Checkstyle and javadocs fixes.