Fix for some (too clever) tempaltes.