Made leaf generators strict.