Keep it compatible with older templates