Updated generator examples.