public void addInclude(TemplateLoader loader, String template, String selector) {
IncludeNode node = null;
try {
node = new IncludeNode(loader, template, selector);
} catch (BehaviorInstantiationException e) {
throw new TemplateLoadingException("Could not include " + template, e);
}
addChild(node);
}