Simplified ActionGenerator. Now call to generate is mandatory.