Removing the array_walks from insert_batch and update_batch since we cannot access $this methods within the array_walk until PHP 5.4. Fixes #938.