Added documentation for main classes.