Some javadoc added.