Remove comment in example and use extended example
document the small API change