Added much more inline documentation to classes.