Add Prototype for generic and batch actions conditional functions