Update docs to reflect latest API changes.