Add javadoc where it is missing.