Added more Javadocs.