Adding some javadoc.