Improved documentation on several classes.