Updating doc with API changes.