Removed old batching function

Fixes: #852