What will happen if args.containerType == 'table'? I don't think the template will be set.