Add utility function for removing orphaned actions.