Add generateAll convenience method.