Adds batch functionality to queue_classic