Added optional callback argument to apply to every payload