Template layout adjustments.