Fix javadoc errors and warnings.