Add some missing javadoc.