See comment above about the async API.