Added some more javadoc.