Fix javadoc errors so we can generate in Java 8.