Collect declarations from batch order spec