Added javadoc comments. jnallard.