Implement reductions for for Buffer primitives.
Merge pull request #1236 from sellout/buffers

Implement reductions for for Buffer primitives.