Add some javadocs.