Update the documentation to reflect API changes.