Added javadoc for several of the classes.