Remove disagreement between examples and API docs