Promoted hidded field to parameter

Promoted the MIN_SAMPLES field of LexicalFunction to a constructor parameter. This is a useful feature and should not be hidden away.