Updated documentation for C API.