Updated ActionHelper to have optional validation