Added better documentation to the classes.