Added Javadoc to some classes.