Simplify batch example
changes reflecting mods in core packages.