Added library and TemplateReference