Update documentation to match code changes.