Switched to using distribution class for histogram specification.