Added a small facility that allows batched calls