Add interface for batch queue.
Add stub buffer class.