Updated javadoc with relevant details