Adds implementation for obtaining batch()