Improvement to javadoc