Fluid style:

factory.create(templateLocation).with(key, value).with(key, value).generate();