Added Javadocs to various classes.