[BEAM-1502] Binning should (optionally) support a postprocessor
(cherry picked from commit 8c23282)