Added a bit of javadoc.