Likely stems from the synonymous use of leaf and sample everywhere, which is not very consistent or correct. Related to #575