Added documentation to API classes.