template spring