updating documentation to match some API changes.