Change elements to primaryBonus in templates