Moved #frequency and #probability to a Histogram module.