Simplified generator's interface.