Some javadoc has been added.