Fix bug with javadoc generation.