? (BeansWrapper)wrapper
: BeansWrapper.getDefaultInstance();
if(args != null && !args.isEmpty()) {
Object[] aarg = new Object[1];
for (Map.Entry<String, TemplateModel> entry: args.entrySet()) {
Object arg = bwrapper.unwrap(entry.getValue());
aarg[0] = arg;
Method m = propertySetters.get(entry.getKey());
if (m == null) {
if (dynaSetter == null) {
throw new TemplateModelException("Unknown property "