Simplify some example code by omitting an optional argument.