Add template for component.