Updating the javadoc to reflect changes