Add javadoc to method