Add code examples for proposed API.