Refactors batch actions