Some adjustments on template locations.