Add javadoc for class