Added Javadoc for new methods.