Refactored batch processors, addressing points in #489.