Add histogram interface