Updated javadoc for some classes, fixed some javadoc issues.