Add documentation for min_by