Template fixing.