Added Elements.popTemplateComplex (in-progress and Cast.ctree accepts array and multiple string arguments.