Adding actionType verification