Updated public C API.