Keep 1.4 compatibility in templates