Update javadoc after refactoring of Document Object Model