Added class for easily handling batch operations.