Added javadoc for modified methods