Rewrite

Optional parameters should be included in the example, to illustrate the full usage.