Revert "Moved batch functions to separate admin file."

This reverts commit 71dfc7d6c24d090cd212d0a4ed06832b9ed53043.