Document the write API.