Implement template addition