Added Javadoc.