Added documentation to some main classes.