Remove enums that aren't used and avoid duplication of the `ForestLeafModel` in the R, Python, and C++ interfaces.