Added binning capability.