Add back support for templates in golden-layout